chore: remove unused EnvVarUtils.validateEnvVars methods - #32781
chore: remove unused EnvVarUtils.validateEnvVars methods#32781detail-app[bot] wants to merge 1 commit into
Conversation
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
✅ Playwright Results — workflow succeededValidated commit ✅ 556 passed · ❌ 0 failed · 🟡 1 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 47m 9s ⏱️ Max setup 5m 7s · max shard execution 18m 29s · max shard-job elapsed before upload 21m 31s · reporting 6s 🌐 234.97 requests/attempt · 2.82 app boots/UI scenario · 12.98% common-shard skew Optimization targets still in progress:
🟡 1 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
Remove the public validateEnvVars method and its private validateEnvVar helper from EnvVarUtils, along with their dedicated tests, since they had no production callers anywhere in the codebase (only test-internal usage, explicitly excluded by the dead-code policy). The rest of EnvVarUtils remains in active use via PodManager.buildContainer -> sanitizeEnvVars.
History
Dead Code PRs can be configured here.